home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PUTS(3) MINTLIB LIBRARY FUNCTIONS PUTS(3)
-
-
- N✓NA✓AM✓ME✓E
- puts, fputs - put a string on a stream
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <stdio.h>
-
- int puts(const char *s);
-
- int fputs(const char *s, FILE *stream);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- puts writes the null-terminated string pointed to by s,
- followed by a new-line character, to the standard output
- stream stdout.
-
- fputs writes the null-terminated string pointed to by s to
- the named output file stream.
-
- Neither function writes the terminating null character.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- f✓fe✓er✓rr✓ro✓or✓r(✓(3✓3)✓),✓, f✓fo✓op✓pe✓en✓n(✓(3✓3)✓),✓, f✓fr✓re✓ea✓ad✓d(✓(3✓3)✓),✓, p✓pr✓ri✓in✓nt✓tf✓f(✓(3✓3)✓),✓, p✓pu✓ut✓tc✓c(✓(3✓3)✓)
-
- R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
- These routines return EOF on error. Otherwise, the number
- of bytes written is returned.
-
- N✓NO✓OT✓TE✓E
- puts appends a new-line character while fputs does not.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-